const Layout = () => import("@/layout/index.vue");

export default {
  path: "/cards",
  name: "Cards",
  component: Layout,
  redirect: "/cards/index",
  meta: {
    icon: "ep:ticket",
    title: "折扣卡管理",
    rank: 9,
    roles: ["admin", "common"]
  },
  children: [
    {
      path: "/cards/index",
      name: "CardsList",
      component: () => import("@/views/cards/index.vue"),
      meta: {
        title: "折扣卡",
        showLink: true,
        roles: ["admin", "common"]
      }
    }
  ]
} satisfies RouteConfigsTable;
